package sfy.md.structure.adaptive;

import java.util.ArrayList;
import java.util.List;

public class NeiCunKa implements NeiCunKaManger{

    List<File> fileList = new ArrayList<>();

    @Override
    public void StoreFile(File file) {
        fileList.add(file);
    }

    @Override
    public void outInfo() {
       fileList.forEach(a->{

           System.out.println(a.getConent());
       });
    }
}
